ApplicationForm
ApplicationForm Component
This component is a form for creating and editing applications. It uses Formik for form management and Yup for form validation.
Props
Prop | Type | Description |
---|---|---|
application | Application from @/thor/model | The application object to be edited |
Example Usage
import ApplicationForm from '@site/src/components/Application';
import { Application } from '@/thor/model';
const initialApplication: Application = {
name: 'My Application',
description: 'This is my application',
isTemplate: false,
type: 'full-stack',
status: 'ready',
entrypointUrl: 'http://localhost:3000'
};
<ApplicationForm application={initialApplication} />